package cn.hnu.qq.entity.message;

import java.util.List;

import cn.hnu.qq.entity.ChartContent;
import cn.hnu.qq.global.MessageType;

public class DownloadMessage extends Message{

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	public DownloadMessage() {
		setMessageType(MessageType.DOWNLOAD_CHART_CONTENT);
	}
	
	private String user;
	
	private String obj;
	
	/**
	 * false for user , true for crowd
	 */
	private boolean type =  false;
	
	private List<ChartContent> answer;

	public String getUser() {
		return user;
	}

	public void setUser(String user) {
		this.user = user;
	}

	public String getObj() {
		return obj;
	}

	public void setObj(String obj) {
		this.obj = obj;
	}

	public boolean getType() {
		return type;
	}

	public void setType(boolean type) {
		this.type = type;
	}

	public List<ChartContent> getAnswer() {
		return answer;
	}

	public void setAnswer(List<ChartContent> answer) {
		this.answer = answer;
	}
	
	
}
